﻿<UserControl x:Class="SLWCFFlipBook.Page"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:local="clr-namespace:SLMitsuControls;assembly=SLMitsuControls"         
    Height="450" Width="900" OpacityMask="#FF000000" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d"
    Loaded="UserControl_Loaded"
             >
    
    <Grid x:Name="LayoutRoot" Background="White">        
            <Canvas x:Name="screens" RenderTransformOrigin="0.5,0.5"  >
            <Canvas.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                    <MatrixTransform></MatrixTransform>
                </TransformGroup>
            </Canvas.RenderTransform>

            <!--Clip="M0.5,25.5 L149.5,0.5 L149.5,199.5 L0.5,162.5 z"-->
            
            <Grid x:Name="back" Background="White" RenderTransformOrigin=".5,.5" Height="420" Width="900" Opacity="0.8" d:IsHidden="True" >
                <Grid.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Grid.RenderTransform>
                <TextBox Foreground="Black" AcceptsReturn="True" Name="txtPoshCode" Height="420" Width="900" >
                    <TextBox.Background>
                        <ImageBrush  ImageSource="powershell.jpg" Opacity="0.8" />
                    </TextBox.Background>
                </TextBox>
            </Grid>
                <Grid x:Name="front" Background="#CC000000" RenderTransformOrigin=".5,.5" Height="420" Width="900"  Opacity="1" >
                <Grid.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Grid.RenderTransform>
                <Grid >
                    <Grid.RowDefinitions>
                        <RowDefinition Height="420"/>
                        
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="15"/>
                        <ColumnDefinition Width="870"/>
                        <ColumnDefinition Width="15"/>
                    </Grid.ColumnDefinitions>
                    <Button Name="Previous" Grid.Row="0" Grid.Column="0" Content="&lt;" Click="Button_Click_1"></Button>
                    <Button Grid.Row="0" Grid.Column="2" Content="&gt;"  Click="Button_Click" ></Button>
                    <local:UCBook x:Name="book" Grid.Row="0" Grid.Column="1" Margin="0,0,0,5" />

                </Grid>

            </Grid>
        </Canvas>
        <Grid>
        </Grid>
        <Button Height="25" Width="430" HorizontalAlignment="Left" Margin="2,0,8,2" Background="DarkGoldenrod" x:Name="btnRotate" VerticalAlignment="Bottom"  RenderTransformOrigin="-2.19199991226196,4.85300016403198" Content="Edit" d:LayoutOverrides="Width, Height"/>
        <Button IsEnabled="False" Height="25" Width="20" HorizontalAlignment="Center" Margin="0,0,0,2" Content="O" x:Name="btnFullScreen" VerticalAlignment="Bottom" />
        <Button Height="25" Width="430" HorizontalAlignment="Right" Margin="8,0,2,2"  x:Name="btnExecute" VerticalAlignment="Bottom"  RenderTransformOrigin="-2.19199991226196,4.85300016403198" Content="Execute" d:LayoutOverrides="Width, Height"/>
    </Grid>
</UserControl>